<h2>上传头像</h2>
<form method="post" enctype="multipart/form-data" action="do_face" target="_self">
    <p>
        <input type="file" name="faceimg" id="faceimg" accept="image/jpeg,image/jpg,image/png"/>
        <input type="submit" value="上传" />
        <br/><span style="color:#777;font-size:.8em;">图片格式限为PNG、JPEG，建议长宽在200像素左右，2M以下</span>
    </p>
</form>